/**
 * @FileName: SpringBoot.java
 * @Package: com.springboot
 * @author lig134
 * @created 2017/3/3 17:26
 * <p>
 * Copyright 2015 ziroom
 */
package com.springboot;

import com.springboot.listener.MyAplicationStartedEventListener;
import com.springboot.listener.MyApplicationEnvironmentPreParedEventListener;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * <p></p>
 * <p>
 * <PRE>
 * <BR>	修改记录
 * <BR>-----------------------------------------------
 * <BR>	修改日期			修改人			修改内容
 * </PRE>
 *
 * @author lig134
 * @version 1.0
 * @since 1.0
 */
@SpringBootApplication
public class Application1 {
    public static void main(String[] args) {
        SpringApplication app=new SpringApplication(Application1.class);
        app.addListeners(new MyAplicationStartedEventListener(),new MyApplicationEnvironmentPreParedEventListener());

        app.run(args);
    }


    public static void main1(String[] args) {
        Integer a = 150;
        Integer b = 150;
        Integer c = 1;
        Integer d = 1;
        System.out.println(a == b);
        System.out.println(a.equals(b));
        System.out.println(c==d);
    }
}